# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xbitmaps
pkgver=1.1.2
pkgrel=1
pkgdesc="X.org header files with bitmaps"
url="http://xorg.freedesktop.org"
arch="noarch"
license="MIT"
options="!check"  # No test suite.
depends="util-macros"
source="https://www.x.org/releases/individual/data/xbitmaps-$pkgver.tar.bz2"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr
	make
}

package() {
	make DESTDIR="$pkgdir" install

	mkdir -p "$pkgdir"/usr/lib
	mv "$pkgdir"/usr/share/pkgconfig "$pkgdir"/usr/lib
}

sha512sums="eed5e2fce9fc6c532984e6ed1262e440591e311ca6c61a7fe7a5c877df84bfc2d7aff388fb9c894fc098785b8e5352f0bd7c918252247a040cf123874847450d  xbitmaps-1.1.2.tar.bz2"
